{config_load file="$language/lang_$language.conf" section="categorie_listing"}
<div class="db">
	{if $CATEGORIES_IMAGE}
		<img src="{$CATEGORIES_IMAGE}" alt="{$CATEGORIES_IMAGE_ALT}" title="{$CATEGORIES_NAME}" {$CATEGORIES_IMAGE_DIMENSION} class="fl p_lr_5" />
	{/if}
	{if $CATEGORIES_HEADING_TITLE !=''}
		<h1>{$CATEGORIES_HEADING_TITLE}</h1><br />
	{/if}
	{if $CATEGORIES_DESCRIPTION !=''}
			{$CATEGORIES_DESCRIPTION}<br /><br />
	{/if}
<br class="clearfix" />	
</div>


{if $module_content !=''}
	<h2>{#heading_more_categories#}</h2>
	<ul id="categorie_list" class="w100p clearfix">
		{foreach name=aussen item=module_data from=$module_content}
			<li class="fl w48p ac boxcenter border_radius_6">
				<h3 class="cat_listing_h3"><a href="{$module_data.CATEGORIES_LINK}" title="{$module_data.CATEGORIES_NAME}">{$module_data.CATEGORIES_NAME}</a></h3>
				{if $module_data.CATEGORIES_IMAGE}
					<a href="{$module_data.CATEGORIES_LINK}" title="{$module_data.CATEGORIES_NAME}">
						<img src="{$module_data.CATEGORIES_IMAGE}" alt="{$module_data.CATEGORIES_IMAGE_ALT}" {$module_data.CATEGORIES_IMAGE_DIMENSION} title="{$module_data.CATEGORIES_NAME}" />
					</a><br />
				{/if}
				
				{$module_data.CATEGORIES_DESCRIPTION}<br />
			</li>
		{/foreach}
	</ul><br class="clearfix" />
{literal}
<script type="text/javascript">
    var max_height = 0;  
    $('#categorie_list li').each(function(e) {  
      h = $(this).height();  
      if(typeof(h) != "undefined") {  
            if(h > max_height) {  
                    max_height = h;  
            }  
      }  
    });  
    if(max_height > 0) {  
     $('#categorie_list li').height(max_height);  
    }  
</script>
{/literal}
{/if}
{$MODULE_new_products}
{if $CATEGORIES_DESCRIPTION_FOOTER !=''}
	<div class="db">
		{$CATEGORIES_DESCRIPTION_FOOTER}<br /><br />
	<br class="clearfix" />	
	</div>
{/if}